package org.example.demo12_decorator;

public class Changer implements Encrypt {
    private Encrypt encrypt;
    public Changer(Encrypt encrypt){
        this.encrypt = encrypt;
    }

    @Override
    public void updatePassword() {
        encrypt.updatePassword();
    }
}
